#ifndef __WEBPAGESEARCHER_H__
#define __WEBPAGESEARCHER_H__
#include "WebPageQuery.h"
#include <memory>

using std::shared_ptr;

class WebPageSearcher
{
public:
    WebPageSearcher(shared_ptr<WebPageQuery> query)
    :_query(query)
    {}
    void doQuery(const string &query,string& result);
private:
    shared_ptr<WebPageQuery> _query;
};

#endif
